package com.company.management.modal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author robet.li
 * @since 2025-03-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("T_PerformanceEvaluations")
@ApiModel(value="PerformanceEvaluations对象", description="")
public class PerformanceEvaluations implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "EvaluationID", type = IdType.AUTO)
    private Integer evaluationId;

    @TableField("UserId")
    private Integer userId;

    @TableField("EvaluationDate")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date evaluationDate;
    @ApiModelProperty("开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @TableField("startDate")
    private Date startDate;
    @ApiModelProperty("结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @TableField("endDate")
    private Date endDate;
    @TableField("ReviewPeriod")
    private String reviewPeriod;

    @TableField("EvaluationContent")
    private byte[] evaluationContent;

    @TableField("Money")
    private Integer money;

    @TableField("CreateId")
    private Integer createId;

    @TableField("CreateDateTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createDateTime;

    @TableField("EvaluationTitle")
    private String evaluationTitle;
    @ApiModelProperty("是否结束 0 没有，1 结束")
    @TableField("finish")
    private Integer finish;
}
